package com.news.news.modle;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * Created by 罗铠威 on 2023/9/9 19:54
 * type:
 */
@Component
@Data
public class NewsType {
    private Integer id;
    private String name;//新闻类型
    private int state;//是否隐藏（状态）
    private String adminName;//操作人
    private Integer adminid;//操作人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operTime;//操作时间
    private List<NewsType> NewsTypelist;
    private Integer pageNum=1;//数量
    private Integer pageSize=2;//页长

}
